package org.bright.service;

import org.bright.entity.Product;

import java.io.IOException;
import java.util.List;

public interface ProductService {
    List<Product> getProductList(String productName) throws IOException;
    int insertProduct(Product product) throws IOException;
    int deleteProductById(int id) throws IOException;
    int updateProduct(Product product) throws IOException;
}
